package com.wms.system.domain.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@ApiModel(value = "WmsWarehouse", description = "库存看板")
public class StockBoardPo {

    @ApiModelProperty("库位编码 (Location code)")
    private String locationCode;

    @ApiModelProperty("层")
    @NotNull(message = "层不能为空")
    private Integer layer;

    @ApiModelProperty("列")
    @NotNull(message = "列不能为空")
    private Integer channel;

    @ApiModelProperty("排")
    @NotNull(message = "排不能为空")
    private Integer rowNum;

    @ApiModelProperty("所属库区编码")
    private String wareCode;

    @ApiModelProperty("所属库区类型")
    private String wareType;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty("托盘码 (Tray code)")
    private String trayCode;

    @ApiModelProperty("托盘类型")
    private Integer trayType;

    @ApiModelProperty("vin")
    private String vin;

    @ApiModelProperty("工厂代码")
    private String plantCode;

    @ApiModelProperty("零件名称")
    private String partName;

    @ApiModelProperty("返修数量")
    private Integer repairNum;

    @ApiModelProperty("1启用，0停用")
    private Integer inEnable;

    @ApiModelProperty("不为空有入库任务")
    private String inStockTask;

    @ApiModelProperty("不为空有出库任务")
    private String outStockTask;
}
